Skip to content

chore: add CI, fix lint warnings, apply stylua formatting - #3

Merged
taigrr merged 1 commit into
masterfrom
cd/lint-and-ci
Apr 15, 2026
Merged

taigrr merged 1 commit into
masterfrom
cd/lint-and-ci

Conversation

@taigrr

@taigrr taigrr commented Apr 5, 2026

Copy link
Copy Markdown
Owner

Changes

  • CI: Add GitHub Actions workflow running stylua and luacheck on push/PR to master
  • Lint config: Add .luacheckrc (LuaJIT std, vim global, 120 char line length)
  • stylua config: Set syntax to All so stylua can parse goto/labels in tracker.lua
  • Fix luacheck warnings:
    • Unused file_count variable in status() (init.lua)
    • Long line in get_project_info() cache return (utils.lua)
  • Refactor: Replace goto continue in build_activities() with an if/end block — equivalent logic, compatible with stylua
  • Format: Apply stylua across all files (quote style consistency, call parentheses)
  • Docs: Update AGENTS.md with lint/format/CI commands

- Add GitHub Actions workflow for stylua and luacheck
- Add .luacheckrc config (LuaJIT std, vim global)
- Set stylua syntax to All for goto/label support
- Fix luacheck warning: unused file_count variable in status()
- Fix long line in utils.lua get_project_info cache return
- Refactor goto/continue in build_activities() to if/end block
- Apply stylua formatting across all files (quote style, call parens)
- Update AGENTS.md with lint/format/CI commands
@taigrr
taigrr merged commit 52d09ff into master Apr 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant